class CreateProducts < ActiveRecord::Migration
  def self.up
    create_table :products do |t|
    	t.column :type, :string
    	t.column :pricea, :decimal
    	t.column :priceb, :decimal
    	t.column :pricec, :decimal
    	t.column :priced, :decimal
    	t.column :brand_id, :integer
    end
  end

  def self.down
    drop_table :products
  end
end
